{% load widget_tweaks %}
<script type="text/javascript">
    
</script>
<h6>Instructions</h6>
<p><small>Economizer analysis requires at least mixed air temperature (MAT), return air temperature (RAT), outdoor air temperature (OAT), supply air temperature (SAT), 
	and supply air setpoint (SA.SPT). Drag the corresponding points to the appropriate folder. Only one point per folder (one AHU). Define the options below before beginning.</small></p>
<h6>Economizer analysis options</h6>

<div id="econ_options_div" style="margin-left: 18px">
	<input type="text" class="span1" id="error_margin" value="1">&nbsp;margin of error (e.g. +/- 1 degree)
	<input type="text" class="span1" id="min_oa_frac" value="15">&nbsp;minimum outdoor air percent
	<input type="text" class="span1" id="chw_vlv_adj" value="5">&nbsp;chilled water valve zero adjustment
</div>
<h6>Load saved economizer analysis</h6>
<form class="form-inline" method="post" action="" style="display: inline" id="configDrop">
	{{ configFileFD.name|add_class:"form-inline span2"}}
	<input class="btn btn-small" type="submit" value="Load" id="loadSetpoints" onclick="buildEconomizerTree(true,false); return false;">&nbsp;&nbsp;&nbsp;
</form>
<form class="form-inline" method="post" action="" style="display: inline" id="configFile">
	<input type="hidden" name="projectId" id="projectId" \>
	<input type="hidden" name="configFile" value="1" \>
	{{ configFileF.name|add_class:"form-inline span2"}}&nbsp;
	<input class="btn btn-small" type="submit" value="Save" id="saveSetpoints" onclick="saveEconomizerTree(true); return false;">
</form>
<div id="success" style="display: inline"></div>
